package cn.edu.nju.software.service.intf;

import java.sql.SQLException;

import cn.edu.nju.software.bean.storage.User;

public interface UserService {
	/**
	 * 用户登录
	 */
	public abstract User login(String signInName, String password) throws SQLException;
	
	/**
	 * 用户注册
	 */
	public abstract int register(User user) throws SQLException;
	
	/**
	 * 修改用户信息
	 */
	public abstract void updateUser(User user) throws SQLException;
}
